<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>伏蒙</title>
<link type="text/css" rel="stylesheet" href="{STATICDIR}admin/css/base.css">
<link type="text/css" rel="stylesheet" href="{STATICDIR}admin/css/common.css">
<script src='{STATICDIR}admin/js/jquery-1.7.2.js?ver=1.0.0'></script>
<script src="{STATICDIR}admin/js/scrollbar.js?ver=1.0.0"></script>
<script src="{STATICDIR}admin/js/common.js?ver=1.0.0"></script>
<script src="{STATICDIR}third/layer/layer.js?ver=1.0.0"></script>

<script>
	function submitcheck()
	{
		
		try
		{
			$("[data-type='1']").each(function()
			{
				var keyVal = $(this).val();
				
				if(keyVal==undefined || keyVal=="" || keyVal==null || keyVal==0)
				{
					
					$(this).addClass('error');
					$(this).attr("error",'1');
				}  
		        else
		        {
		        	$(this).removeClass('error');
		        	$(this).attr("error",'0');
		        }
		    });
		    
		    
			var s = $("[error='1']");
			
			if(s.length>0)
			{
				return false;
			}
			else
			{
				return true;
			}
		}
		catch(e)
		{
			alert(e.message);
			return false;
		}
	}
	
	function OnBlurText(obj)
	{
		if($(obj).attr("data-type")=='1')
		{
			var keyVal = $(obj).val();

			if(keyVal==undefined || keyVal=="" || keyVal==null || keyVal==0)
			{
				
				$(obj).addClass('error');
				$(obj).attr("error",'1');
			}  
	        else
	        {
	        	$(obj).removeClass('error');
	        	$(obj).attr("error",'0');
	        }
		}
		
        return true;
	}
</script>
</head>